package xyz.zdsoft.attendance_manage_module.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@ApiModel(value = "管理员查询打卡记录")
public class AdminPunchRecordVo {

    @ApiModelProperty(value = "打卡日期", required = false)
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date punchDate;

    @ApiModelProperty(value = "学号", required = false)
    private String studentNo;

    @ApiModelProperty(value = "姓名", required = false)
    private String studentName;

    @ApiModelProperty(value = "打卡时间", required = false)
    @JsonFormat(pattern = "HH:mm:ss",timezone="GMT+8")
    @DateTimeFormat(pattern = "HH:mm:ss")
    private Date punchTime;


    @ApiModelProperty(value = "打卡设备-教室", required = false)
    private String equipment;

}
